//
//  MovieView.m
//  UI_元旦豆瓣
//
//  Created by dllo on 16/1/3.
//  Copyright © 2016年 31付冬梅. All rights reserved.
//

#import "MovieView.h"

@implementation MovieView
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self creatMovieView];
    }
    return self;
}
- (void)creatMovieView {
    self.movieImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 10, 100, 150)];
    [self addSubview:_movieImageView];
    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 170, 100, 50)];
    [self addSubview:_titleLabel];
    _titleLabel.textAlignment = NSTextAlignmentCenter;
    
}










/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
